// Copyright (c) Kurrent, Inc and/or licensed to Kurrent, Inc under one or more agreements.
// Kurrent, Inc licenses this file to you under the Kurrent License v1 (see LICENSE.md).

using System;

namespace KurrentDB.Projections.Core.Utils;

public static class EnumExtensions {
	public static string EnumValueName<T>(this T value) where T : struct {
		return Enum.GetName(typeof(T), value);
	}
}
